package com.jww.cloud.service.user.client;

import com.jww.base.am.model.dos.SysResourceDO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "jww-cloud-service-user")
public interface ResourceProviderClient {

    @GetMapping("/resources")
    List<SysResourceDO> listByUsername(String username);
}
